<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ taglib uri="/WEB-INF/tlds/att.tld" prefix="att"%>
<html>
<head>
	<meta name="decorator" content="moduleView"/>
</head>
<body>
		<div class="Report_f">
	        <div class="Report_f_1">
	             <div class="Report_f_title_1">费用发票</div>
	        	 <div class="o-l-action">
					<a class="btn btn-default btn-sm btn_5 pull-right" role="button" href="javascript:void(0)" onclick="history.go(-1)">返回</a> 
					<c:if test="${obj.isConfirmed!=1}">
			    		<button type="button" id="btnExport" class="btn btn-success btn-sm btn_5 pull-right" role="button"
			    			 onclick="return Oosp_Confirm('确认要确认该发票吗？', '${contextPath}/biz/statement/exp/${obj.id}/confirm')">确认</button>
					</c:if> 
				</div>
	             <div class="tab-content Report_f_title_3">
	                  <div class="Report_f_title_5">
	                       <div class="tab-content Report_f_title_3">
	                            <div class="tab-pane active" id="label_1">
	                                 <div class="Report_f_title_4">
	                                      <div class="f_3">
	                                        <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_4">单号:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14">${obj.billNo}</div>
	                                             </div>
	                                         </div>
	                                         <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_7">是否确认:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14">
	                                                  	<ossp:value dictType="YESORNO" key="${obj.isConfirmed}"></ossp:value>
													  </div>
	                                             </div>
	                                         </div>
	                                      </div>
	                                      <div class="f_2">
	                                        <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_4">供应商编号:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14">${obj.supplierNo}</div>
	                                             </div>
	                                         </div>
	                                         <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_7">供应商名称:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14">${obj.supplierName}</div>
	                                             </div>
	                                         </div>
	                                      </div>
	                                      <div class="f_3">
	                                        <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_4">开票日期:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14"><fmt:formatDate value="${obj.billingDate}" pattern="yyyy-MM-dd"/></div>
	                                             </div>
	                                         </div>
	                                         <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_7">开票总额:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14">
	                                                  	${obj.invoiceAmount}
	                                                  </div>
	                                             </div>
	                                         </div>
	                                      </div>
	                                      <div class="f_2">
	                                        <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_4">国税税额:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14">${obj.irsTax}</div>
	                                             </div>
	                                         </div>
	                                         <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_7">地税总额:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14">${obj.localTax}</div>
	                                             </div>
	                                         </div>
	                                      </div>
	                                      <div class="f_3">
	                                         <div class="form-group col-sm-6">
	                                             <label for="inputtext3" class="col-sm-4 control-label f_7">开票类型:</label>
	                                             <div class="col-sm-8 f_6">
	                                                  <div class="col-sm-7 f_14">
														<ossp:value dictType="INVOICETYPE" key="${obj.billType}"></ossp:value>
	                                                  </div>
	                                             </div>
	                                         </div>
	                                      </div>
	                                 </div>
	                            </div>
	                        </div>
	                  </div>
	             </div>
	        </div>
	   </div>  
</body>
</html>